# -*- coding: utf-8 -*-

"""Default settings for w.i18n package
@param ROOT_DIR specializes directory where locales are stored. It's a good idea
to put them into views/templates directory (of course, if you're using 'clean'
MVC scheme: static translations only in V component).

@param DEFAULT_LANG specializes default language to be used when there is no 
additional info. 
    @default en (English)

@param TRANSLATION_FUNC_NAMES specializes translation function names to be
installed in addition to the '_' name.
    @default []

@param LOADING_ERROR_CALLBACK defines callable factory object to be used when
resource file loading/installation generates Exception. Callable produced by
this factory will be installed as builtin translation function.
    @default lambda exception: lambda txt: txt
"""

ROOT_DIR=''

DEFAULT_LANG='en'

TRANSLATION_FUNC_NAMES=[]

RESOURCE_ERROR_CALLBACK=lambda ex: lambda txt: txt

USE_PROCESSOR_PACKAGE = 'w.i18n.gettext'

